home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Underw < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.4 KB  |  70 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'An impression of the image under water. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.17125,0.07,0.82375,0.94), 
  15.         'Darkness': 100, 
  16.         'Defocus': 0, 
  17.         'Frame': {
  18.             'FrameColor': (163,90,49), 
  19.             'Material': App.Constants.LensFrameMaterial.DullBronze, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 5
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (0,0,255), 
  26.                 'LightDirection': (-0.6225,0.5476,-0.5577), 
  27.                 'HighlightSize': 22
  28.                 },{
  29.                 'LightColor': (103,164,255), 
  30.                 'LightDirection': (0.682589,0.446218,-0.578759), 
  31.                 'HighlightSize': 39
  32.                 },{
  33.                 'LightColor': (0,43,130), 
  34.                 'LightDirection': (-0.305664,0.208862,-0.522369), 
  35.                 'HighlightSize': 74
  36.                 },{
  37.                 'LightColor': (84,17,253), 
  38.                 'LightDirection': (-0.305664,0.208862,0.522369), 
  39.                 'HighlightSize': 56
  40.                 },{
  41.                 'LightColor': (255,255,255), 
  42.                 'LightDirection': (-0.0626497,-0.14265,-0.987788), 
  43.                 'HighlightSize': 0
  44.                 }], 
  45.             'MaxAmbience': 91, 
  46.             'MinAmbience': 6
  47.             }, 
  48.         'LensSurface': {
  49.             'EnvironmentMap': {
  50.                 'Active': App.Constants.Boolean.false
  51.                 }, 
  52.             'Gloss': 23, 
  53.             'Magnification': 9, 
  54.             'LensMaterial': {
  55.                 'Color': (0,54,53), 
  56.                 'Pattern': None, 
  57.                 'Gradient': None, 
  58.                 'Texture': None
  59.                 }, 
  60.             'LensOpacity': 41, 
  61.             'Refraction': 44, 
  62.             'ShapeType': App.Constants.LensShape.Spherical, 
  63.             'Shininess': 16
  64.             }
  65.         }
  66.  
  67. def Do(Environment):
  68.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  69.  
  70.